<?php
class Article_link extends CActiveRecord
{
	public static function model($className = __CLASS__)
	{
		return parent::model($className);
	}
	
	public function tableName()
	{
	    return strtolower(get_class($this));
	}
	
	public function afterSave()
	{
		Yii::app()->cache->delete('right_notice');
	}
}